-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Fix Intel crash in ThemeManager on macOS #13543
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
- Add try/catch around themeWindowManager.install() to handle RuntimeException - Prevents crash when native libraries are incompatible with ARM64 architecture - Fixes JabRef#13536
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please adress my comments.
Why is this ticked if there is no changelog entry (at least at the time of writing this)? |
@@ -58,7 +58,7 @@ public class ThemeManager { | |||
private final WorkspacePreferences workspacePreferences; | |||
private final FileUpdateMonitor fileUpdateMonitor; | |||
private final Consumer<Runnable> updateRunner; | |||
private final ThemeWindowManager themeWindowManager; | |||
private ThemeWindowManager themeWindowManager; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add @Nullable
; because we don't use Optionals
in class variables; do we @Siedlerchr
Follow-up issue: dukke/FXThemes#14 |
I fixed all the issues
Since external contributors rely on the issue, I go ahead with merging. |
You ticked that you modified If you made changes that are visible to the user, please add a brief description along with the issue number to the |
@trag-bot didn't find any issues in the code! ✅✨ |
Closes #13536
Changes
themeWindowManager.install(scene)
in ThemeManagerTesting
Mandatory checks
CHANGELOG.md
described in a way that is understandable for the average user (if change is visible to the user)